#ifndef __PopupLayer_H__
#define __PopupLayer_H__

#include "cocos2d.h"

USING_NS_CC;

class PopupLayer: public cocos2d::Layer {
public:
	static Scene * scene();
	bool init();
	CREATE_FUNC(PopupLayer);
	void setTitle(const char *titleString);
	void setContent(const char *contentString);
private:
	void yesButton(Object * object);
	void noButton(Object * object);
	Size m_size;
	Sprite * m_bgSprite;
};
#endif
